<?php
	$page_name = explode('/',$_SERVER['REQUEST_URI']);
?>
<div id="header">
  <div id="masthead">
    <div id="branding" role="banner">
      <h1 id="site-title"> <span> <a href="" title="Royal Bearing Inc." rel="home">Royal Bearing Inc.</a> </span> </h1>
      <a href="/" rel="home"> <img id="logo" src="images/logo_royal.png" height="62" width="172" border="0" title="Royal Bearing Inc."/></a>
      <div id="site-description"> 
        <!--We Do Bearings.--> 
        China <span class="d">0411-62594037/041/099</span> &nbsp;
        <div>
          <p>&nbsp;</p>
        </div>
        <div id="placeholder-regions"></div>
        <div id="top-links"> <a href="javascript::void(0);" id="util-int">International</a>
          <div id="util-regions"> &nbsp; <a href="/international/german" title="German Language Site"><img src="images/flag_germany.jpg"  width="25" height="18" border="1"/></a> <a href="/international/mexico" title="Hispanic Language Site"><img src="images/flag_mexico.jpg"  width="25" height="18" border="1"/></a> <a href="/international/france" title="French Language Site"><img src="images/flag_france.jpg"  width="25" height="18" border="1"/></a> </div>
        </div>
      </div>
    </div>
    <!-- #branding -->
    
    <div id="access-wrapper">
      <div id="access" role="navigation">
        <div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div>
        <div class="menu-header">
          <ul id="menu-royalbearingsmenu" class="menu">
            <li id="menu-item-17" class="menu-item menu-item-type-post_type menu-item-object-page page_item page-item-5 <?=empty($page_name[2]) ? "current-menu-item" : "";?> menu-item-17"><a href="/">Home</a></li>
            <li id="menu-item-543" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-543 <?=$page_name[2]=='about' ? "current-menu-item" : "";?>"><a href="<?=base_url('/home/about/');?>">About Us</a></li>
            <li id="menu-item-557" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-557 <?=$page_name[2]=='products' || $page_name[2]=='products_detail' ? "current-menu-item" : "";?>"><a href="<?=base_url('/home/products/');?>">Products</a></li>
            <li id="menu-item-117" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-117 <?=$page_name[2]=='services' ? "current-menu-item" : "";?>"><a href="<?=base_url('/home/services/');?>">Services</a></li>
            <li id="menu-item-84" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-84 <?=$page_name[2]=='news' || $page_name[2]=='news_detail' ? "current-menu-item" : "";?>"><a href="<?=base_url('/home/news/');?>">News</a></li>
            <li id="menu-item-21" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-21<?=$page_name[2]=='contact' ? "current-menu-item" : "";?>"><a href="<?=base_url('/home/contact/');?>">Contact Us</a></li>
          </ul>
        </div>
      </div>
      <!-- #access --> 
    </div>
  </div>
  <!-- #masthead --> 
</div>